package cn.liccshop.core.service.shopGoodsComment.mapper;

import cn.liccshop.core.entity.ShopGoodsComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品评论表 Mapper 接口
 * </p>
 *
 * @author LiCC
 * @since 2019-05-13
 */
public interface ShopGoodsCommentMapper extends BaseMapper<ShopGoodsComment> {

    /**
     * 获取评论信息
     * @param params
     * @return
     */
    List liccCommontInfoByPage(@Param("params") Map<String, Object> params);

    /**
     * 获取行数
     * @param params
     * @return
     */
    Integer liccCommontInfoCount(@Param("params") Map<String, Object> params);
}
